package com.heima.apis.article;

import com.heima.model.article.pojos.ApArticle;
import com.heima.model.user.Dtos.AllDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "leadnews-article")
public interface IFollowClient {
    @PostMapping("/api/v1/follow/select")
    ApArticle selectOne(@RequestBody AllDto dto);
}
